package com.olddriver.crm.service;

import com.olddriver.crm.domain.Role;
import com.olddriver.crm.page.PageResult;
import com.olddriver.crm.query.QueryObject;

import java.util.List;

public interface IRoleService{

    void insert(Role role);

    void update(Role role);

    PageResult query(QueryObject qo);

    void delete(Long id);

    List<Role> listAll();
}
